<!-- php:$pagelist = phpok_page($pageurl,$total,$pageid,$psize,"prev=上一页&next=下一页&last=末页&home=首页&always=1") -->
<div class="pages" {if $style} style="{$style}"{/if}>
<ul>
	<!-- loop from=$pagelist key=$key value=$value -->
	<li{if $value.status} class="current"{/if}>
		<!-- if $value.nolink -->
		<span>{$value.title}</span>
		<!-- else -->
		<a href="{$value.url}" title="{$value.title}">{$value.title}</a>
		<!-- /if -->
	</li>
	<!-- /loop -->
</ul>
</div>